import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SGangFightsPlayerResult
    
    export  class SGangFightsPlayerResult
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.teamId);
            arg1.writeInt(this.faceId);
            arg1.writeString(this.teamName);
            this.entityId.__write(arg1);
            arg1.writeString(this.name);
            arg1.writeInt(this.warfare);
            arg1.writeByte(this.sex);
            arg1.writeByte(this.camp);
            arg1.writeShort(this.career);
            arg1.writeByte(this.avatarId);
            arg1.writeInt(this.totalHurt);
            arg1.writeInt(this.totalCure);
            arg1.writeInt(this.killNum);
            arg1.writeInt(this.teamMark);
            arg1.writeInt(this.teamMarkAdd);
            arg1.writeInt(this.mark);
            arg1.writeInt(this.markAdd);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.teamId = arg1.readInt();
            this.faceId = arg1.readInt();
            this.teamName = arg1.readString();
            this.entityId = new SEntityId();
            this.entityId.__read(arg1);
            this.name = arg1.readString();
            this.warfare = arg1.readInt();
            this.sex = arg1.readByte();
            this.camp = arg1.readByte();
            this.career = arg1.readShort();
            this.avatarId = arg1.readByte();
            this.totalHurt = arg1.readInt();
            this.totalCure = arg1.readInt();
            this.killNum = arg1.readInt();
            this.teamMark = arg1.readInt();
            this.teamMarkAdd = arg1.readInt();
            this.mark = arg1.readInt();
            this.markAdd = arg1.readInt();
            return;
        }

        public /* var */teamId: int;

        public /* var */faceId: int;

        public /* var */teamName: string;

        public /* var */entityId: SEntityId;

        public /* var */name: string;

        public /* var */warfare: int;

        public /* var */sex: int;

        public /* var */camp: int;

        public /* var */career: int;

        public /* var */avatarId: int;

        public /* var */totalHurt: int;

        public /* var */totalCure: int;

        public /* var */killNum: int;

        public /* var */teamMark: int;

        public /* var */teamMarkAdd: int;

        public /* var */mark: int;

        public /* var */markAdd: int;
    }
